package com.qixin.modules.rzInvoice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: ea_bill_item
 * @Author: qixin-boot
 * @Date:   2021-09-10
 * @Version: V1.0
 */
@Data
@TableName("ea_bill_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ea_bill_item对象", description="ea_bill_item")
public class EaBillItem implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**货物或应税劳务、服务名称*/
	@Excel(name = "货物或应税劳务、服务名称", width = 15)
    @ApiModelProperty(value = "货物或应税劳务、服务名称")
    private String name;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String specification;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private BigDecimal price;
    /**数量*/
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private BigDecimal quantity;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private BigDecimal total;
	/**税额*/
	@Excel(name = "税额", width = 15)
    @ApiModelProperty(value = "税额")
    private BigDecimal tax;
    /**税额*/
    @Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;

	//总金额
	private BigDecimal totalAmount;
	/**车牌号(收费公路通行费增值税电子普通发票)*/
	@Excel(name = "车牌号(收费公路通行费增值税电子普通发票)", width = 15)
    @ApiModelProperty(value = "车牌号(收费公路通行费增值税电子普通发票)")
    private String licensePlate;
	/**类型(收费公路通行费增值税电子普通发票)*/
	@Excel(name = "类型(收费公路通行费增值税电子普通发票)", width = 15)
    @ApiModelProperty(value = "类型(收费公路通行费增值税电子普通发票)")
    private String vehicleType;
	/**通行日期起(收费公路通行费增值税电子普通发票)*/
	@Excel(name = "通行日期起(收费公路通行费增值税电子普通发票)", width = 15)
    @ApiModelProperty(value = "通行日期起(收费公路通行费增值税电子普通发票)")
    private String startDate;
	/**通行日期止(收费公路通行费增值税电子普通发票)*/
	@Excel(name = "通行日期止(收费公路通行费增值税电子普通发票)", width = 15)
    @ApiModelProperty(value = "通行日期止(收费公路通行费增值税电子普通发票)")
    private String endDate;
	/**出发站(飞机票)*/
	@Excel(name = "出发站(飞机票)", width = 15)
    @ApiModelProperty(value = "出发站(飞机票)")
    private String fromAirport;
	/**到达站(飞机票)*/
	@Excel(name = "到达站(飞机票)", width = 15)
    @ApiModelProperty(value = "到达站(飞机票)")
    private String toAirport;
	/**舱位等级(飞机票)*/
	@Excel(name = "舱位等级(飞机票)", width = 15)
    @ApiModelProperty(value = "舱位等级(飞机票)")
    private String className;
    private transient String classNameName;
	/**航班号(飞机票)*/
	@Excel(name = "航班号(飞机票)", width = 15)
    @ApiModelProperty(value = "航班号(飞机票)")
    private String flightNumber;
	/**乘机日期(飞机票)*/
	@Excel(name = "乘机日期(飞机票)", width = 15)
    @ApiModelProperty(value = "乘机日期(飞机票)")
    private String date;
	/**乘机时间(飞机票)*/
	@Excel(name = "乘机时间(飞机票)", width = 15)
    @ApiModelProperty(value = "乘机时间(飞机票)")
    private String time;
	/**座位等级(飞机票)*/
	@Excel(name = "座位等级(飞机票)", width = 15)
    @ApiModelProperty(value = "座位等级(飞机票)")
    private String seat;
	/**承运人(飞机票)*/
	@Excel(name = "承运人(飞机票)", width = 15)
    @ApiModelProperty(value = "承运人(飞机票)")
    private String carrier;
	/**免费行李(飞机票)*/
	@Excel(name = "免费行李(飞机票)", width = 15)
    @ApiModelProperty(value = "免费行李(飞机票)")
    private String allow;
	/**车型(滴滴)*/
	@Excel(name = "车型(滴滴)", width = 15)
    @ApiModelProperty(value = "车型(滴滴)")
    private String carType;
	/**上车时间(滴滴)*/
	@Excel(name = "上车时间(滴滴)", width = 15)
    @ApiModelProperty(value = "上车时间(滴滴)")
    private String timeGeton;
	/**城市(滴滴)*/
	@Excel(name = "城市(滴滴)", width = 15)
    @ApiModelProperty(value = "城市(滴滴)")
    private String city;
	/**起点(滴滴)*/
	@Excel(name = "起点(滴滴)", width = 15)
    @ApiModelProperty(value = "起点(滴滴)")
    private String stationGeton;
	/**终点(滴滴)*/
	@Excel(name = "终点(滴滴)", width = 15)
    @ApiModelProperty(value = "终点(滴滴)")
    private String stationGetoff;
	/**里程（公里）(滴滴)*/
	@Excel(name = "里程（公里）(滴滴)", width = 15)
    @ApiModelProperty(value = "里程（公里）(滴滴)")
    private String mileage;
    /**父类id*/
    @Excel(name = "父类id", width = 50)
    @ApiModelProperty(value = "父类id")
    private String pid;

    public String getClassNameName() {
        return classNameName;
    }

    public void setClassNameName(String classNameName) {
        this.classNameName = classNameName;
    }
}
